projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c1827b
)
XM/XenAPI: Add blktap support when creating domains by xm through Xen API.
author
Keir Fraser
<keir.fraser@citrix.com>
Tue, 13 May 2008 08:48:40 +0000
(09:48 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Tue, 13 May 2008 08:48:40 +0000
(09:48 +0100)
Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
tools/python/xen/xm/xenapi_create.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xm/xenapi_create.py
b/tools/python/xen/xm/xenapi_create.py
index 11ccaed665c33f5cf9e5c2f5abccf0f79b9a2585..7c45564461997d9f654e66cf900f0cdc7f926e23 100644
(file)
--- a/
tools/python/xen/xm/xenapi_create.py
+++ b/
tools/python/xen/xm/xenapi_create.py
@@
-509,7
+509,7
@@
class sxp2xml:
if len(child) > 0 and child[0] == "device"]
vbds_sxp = map(lambda x: x[1], [device for device in devices
- if device[1][0]
== "vbd"
])
+ if device[1][0]
in ("vbd", "tap")
])
vifs_sxp = map(lambda x: x[1], [device for device in devices
if device[1][0] == "vif"])